package com.grammer;

public class OutterClass {
    public static void main(String[] args){

       System.out.println(new OutterClass().test());
    }



   int fun1(){
        System.out.println("func1");
        return 1;
    }

    int fun2(){
        System.out.println("func2");
        return 2;
    }

    int test(){
        try{
            return fun1();
        }finally {
            return fun2();
        }
    }
}
